<template>
  <div class="login_bg">
    <img src="../../static/image/LOGO.png" alt="" class="logo_img">
    <h3 class="login_title">
      {{ pageTitle }}
    </h3>
    <div>
      <router-view @changeTitle="change">
      </router-view>
    </div>
  </div>
</template>

<script>
  // let $ = require('Jquery')
  export default {
    name: 'Login',
    data () {
      return {
        pageTitle: '登录'
      }
    },
    methods: {
      change: function (title) {
        this.pageTitle = title
      }
    },
    created () {
      this.$emit('coverConcat')
    },
    activated () {
      this.$emit('coverConcat')
    }
  }
</script>

<style scoped>

</style>
